package com.woniu.hospital.service;

import com.woniu.hospital.domain.Hosptilnews;
import com.woniu.outpatient.domain.Checks;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.math.BigDecimal;
import java.util.List;

@FeignClient("wolf-outpatient")
public interface IChecksService {
    @GetMapping("/checks/checkAmount/{patientId}")
    BigDecimal checkAmount(@PathVariable("patientId") Long patientId);
}
